{extend name="default/base/base_seller" /}
{block name="seller_btn"}<a title="{$Think.lang.establish_template}" class="dssc-btn dssc-btn-green" href="{:url('Sellerareabill/waybill_add')}">{$Think.lang.add_template}</a>{/block}
{block name="seller_main"}
<table class="dssc-default-table">
    <thead>
        <tr>
            <th class="w30"></th>
            <th class="w120 tl">服务费用序号</th>
            <th class="w120 tl">{$Think.lang.template_name}</th>
<!--            <th class="w120 tl">{$Think.lang.member_show_expre_company}</th>-->
           <!-- <th class="w120 tl">{$Think.lang.waybill_legend}</th>-->
            <th class="w80">地区类型</th>
             <th class="w80">是否免除服务费</th>
            <th class="w80">是否启用</th>
            <th class="w100">{$Think.lang.ds_common_button_operate}</th>
        </tr>
    </thead>
    <tbody>
        {if $waybill_list}
        {foreach name="waybill_list" key="key" item="data"}

        <tr class="bd-line">
            <td></td>
            <td class="tl">{:$key+1}</td>
            <td class="tl">{$data.waybill_name}</td>

            </td>
            <td>
                {$data.area_type == 1 ? '部分地区' : '全部地区'}
            </td>
            <td>
                {$data.is_bao == 1 ? '免除' : '不免除'}
            </td>
            <td>
                {$data.status == 1 ? '启用' : '不启用'}
            </td>
            <td class="dscs-table-handle"><span><a href="{:url('Sellerareabill/waybill_edit',array('waybill_id' =>$data.waybill_id))}" class="btn-blue"><i class="iconfont">&#xe731;</i>
                        <p>{$Think.lang.ds_edit}</p>
                    </a></span><span><a href="javascript:void(0)" onclick="ds_ajaxget_confirm('{:url('Sellerareabill/waybill_del',['waybill_id'=>$data.waybill_id])}','确定要操作删除吗？');"  class="btn-red"><i class="iconfont">&#xe725;</i>
                        <p>{$Think.lang.ds_del}</p>
                    </a></span></td>
        </tr>
        {/foreach}
        {else}
        <tr>
            <td colspan="20" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
        </tr>
        {/if}
    </tbody>
</table>
<link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
<script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>


{/block}
